wayland: Remove an overeager assert
authorMatthias Clasen <mclasen@redhat.com>
Sat, 5 Sep 2015 03:28:24 +0000 (23:28 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 5 Sep 2015 03:29:31 +0000 (23:29 -0400)
commit27e3059a324ea1e18e871dbaa0278b1f91a91b9e
treec5414093c960927f0247d71714f91689ccd2020f
parent89063cf21c792c90259627149a4f7cf2aaa71eef
wayland: Remove an overeager assert

If we are using gl for drawing, we don't have a shm surface,
so don't assert that we do. Instead, only call shm-specific
apis when they make sense.

This fixes a crash when showing popovers over a GtkGLArea,
as seen in gdkgears.

https://bugzilla.gnome.org/show_bug.cgi?id=754143
gdk/wayland/gdkwindow-wayland.c